//
//  ModelController.h
//  TextRead
//
//  Created by 奇阅科技 on 14-11-20.
//  Copyright (c) 2014年 奇阅科技. All rights reserved.
//

#import <UIKit/UIKit.h>
@class Book;
@class BookChapterInfo;
@class ReadPageViewController;
@class ZMYReadViewController;
@interface ModelController : NSObject <UIPageViewControllerDataSource>

@property (nonatomic,strong)Book *book;
@property ( strong, nonatomic) NSMutableArray *currentPageData;
- (ReadPageViewController *)viewControllerAtIndex:(NSUInteger)index storyboard:(UIStoryboard *)storyboard;
- (NSUInteger)indexOfViewController:(ReadPageViewController *)viewController;
-(void)parseBookChapterText;
-(NSInteger)getIndexItem:(NSRange)rang;
@property (nonatomic,assign)ZMYReadViewController *delegate;
@end

